/**
 * Form Generation Library Stylesheet
 * 
 * This style sheet includes the basic styles
 * for a form generated with the form generation
 * library for CodeIgniter
 * 
 * @license		MIT License
 * @author		Frank Michel
 * @link		http://frankmichel.com
 * @docu		http://frankmichel.com/formgenlib
 * @email		info@frankmichel.com
 * 
 * @file		form.css
 * @version		1.0.4
 * @date		02/28/2011
 * 
 * Copyright (c) 2009 Frank Michel
 */

/* --------------------------------------------------------------------------
	GENERAL FORM */

form {
	color: #444;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Lucida, Tahoma, Arial, sans-serif;
	font-size: 14px;
	line-height: 24px;
}

/**
 * this will make sure that floats will be cleared
 * for example if you use <br /> after checkboxes and radio buttons
 */
form br {
	clear: left;
}

#errors {
	padding: 10px; 
	margin-bottom: 10px;
	border: 1px solid #c00;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	background-color: #fff;
}

#login_name, #password {	
	font-size: 14px;
	border: 1px solid #666;
	width: 170px;
}

/* --------------------------------------------------------------------------
	FIELDSET */

fieldset {
	margin-bottom: 20px;
	padding: 20px;
	background-color: #f4f4f4;
	border: 1px solid #bbb;	
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
	
table {
	border: 1px solid black; 
	white-space: nowrap; 
	color: black; 
	border-collapse: collapse; 
	background-color: white; 
	font-size: 13px; 
	height: 10px; 
	text-align: left; 
	vertical-align: center; 
	cellpadding: 25px;
	cellspacing: 1px;
}

th {
	background-color: #D8D8D8; 
	color: black; 
	text-align: center;
}

legend {
	font-size: 12px;
}

/* --------------------------------------------------------------------------
	LABELS */

label {
	display: inline;
	float: left;
	/*width: 145px;*/
	width: auto;
	width: "180px";
	padding-right: 10px;
	padding-bottom: 10px;
	font-size: 13px;	
	vertical-align: middle;
}

label.error {
	color: #c00;
}

/**
 * use this class in the $config['defaults'] for 'label' in the config file
 * if you want the text in the label left justified
 */
label.left {
	text-align: left;
}

/**
 * 'combine' is used when two labels are combined such as in 'City/Zip'
 */
label.left.combine {
	width: auto;
	float: left;
	padding: 0;
}

/**
 * use this class in the $config['defaults'] for 'label' in the config file
 * if you want the text in the label right justified
 */
label.right {
	text-align: right;
}

label.right.combine {
	width: auto;
	float: none;
	text-align: right;	
	padding: 0;
}

/**
 * use this class in the $config['defaults'] for 'label' in the config file
 * if you want to display the label above the field
 */
label.top {
	float: none;
	padding: 0;
	width: auto;
	text-align: left;
}

/**
 * use this class in the $config['defaults'] for 'label' in the config file
 * if you want to display the label after the field
 */
label.after {
	float: none;
	padding-left: 10px;
	vertical-align: top;
	text-align: left;
}

label.after.combine {
	width: auto;
	float: left;
	padding: 0;
}

/**
 * this needs to be assigned to all 'checkbox' and 'radio' type elements
 * (to remove any width and float styles previously set)
 */
label.check {
	float: left;
	width: auto;
}

input.check + label.check  {
	padding-left: 6px;
}

/**
 * this is where you can style your required labels
 * don't forget to include this class name in the config file
 */
label.required {
	font-weight: bold;
}

/* --------------------------------------------------------------------------
	GENERAL INPUTS */

select, textarea {
	font-size: 14px;
	color: #000;
	border: 1px solid #666;
	height: 22px;
}

input {
	font-size: 14px;
	color: #000;
	height: 22px;
	width: auto;
}

input.error, select.error, textarea.error {
	border: 1px solid #c00;
}

input[disabled], input[readonly] {
	color: #808080;
	background-color: #efefef;
}

input[type="file"] {
	border: none;
}

input[type="text"]{	
	border: 1px solid #666;
}

/* --------------------------------------------------------------------------
	CHECKBOX / RADIO INPUTS */

input.check {
	float: left;
	width: auto;
	padding: 0;
	margin: 0;
	height: 24px;
	border: none;
}

/* --------------------------------------------------------------------------
	UPLOADS */

input.upload {
	border: none;
	background-color: transparent;
}

/* --------------------------------------------------------------------------
	IMAGE INPUTS */

input.image {
	border: 0px;
	background-color: transparent;
}

/* --input.image------------------------------------------------------------------------
	TEXTAREA */

textarea {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Lucida, Tahoma, Arial, sans-serif;	
	padding: 2px;
	width: 296px;
	width: "300px";
	height: 150px;
	border: 1px solid #666;
}

/* --------------------------------------------------------------------------
	SELECT */

select {
	padding: 2px;
	margin-bottom: 4px;
	background-color: #fff;
	height: 26px;
	font-size: 14px;
}

optgroup {
	color: #fff;
	background-color: #999;
}

option {
	color: #000;
	background-color: #fff;
}

/* --------------------------------------------------------------------------
	BUTTONS */

button, .button {
	cursor: pointer;
	font-size: 13px;
	height: 26px;
	padding: 0px 1px 2px 1px;	
}

/* --------------------------------------------------------------------------
	OTHER */
	
span.help {
	display: block;
	color: #666;
	font-size: 10px;
	margin-left: 160px;
	line-height: 15px;
	margin-bottom: 5px;
}

tr:hover {
	background-color: #F0FFFF;
}